package com.pzb.order.domain;

import java.io.Serializable;
import java.util.List;

public class CheckOutModel implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 商户id
     */
    private String extAppid;
    /**
     * 用户id
     */
    private String openid;
    /**
     * 下单ip
     */
    private String ip;
    /**
     * 类型
     */
    private String mode;

    /**
     * 收货方式 0快递配送 1自提
     */
    private String delivery;

    /**
     * 优惠券id
     */
    private Long couponId;

    private Long userCouponId;

    /**
     * 活动Id
     */
    private Long discountId;

    /**
     * 赠品id
     */
    private Long giftId;

    /**
     * 是否使用积分
     */
    private Integer isUsePoints;

    /**
     * 购物车id集合
     */
    private List<Long> cartIds;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 商品规格
     */
    private Long goodsUnitId;
    /**
     * 商品规格
     */
    private String goodsUnit;
    /**
     * 购买数量
     */
    private Integer quantity;

    /**
     * 购买单价
     */
    private String price;

    /**
     * 活动价格
     */
    private String panicPrice;

    /**
     * 支付方式 0 余额 1微信
     */
    private Integer payType;
    /**
     * 用户备注
     */
    private String remark;

    private OdOrder order;

    public String getExtAppid() {
        return extAppid;
    }

    public void setExtAppid(String extAppid) {
        this.extAppid = extAppid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Long getDiscountId() {
        return discountId;
    }

    public void setDiscountId(Long discountId) {
        this.discountId = discountId;
    }

    public Long getGiftId() {
        return giftId;
    }

    public void setGiftId(Long giftId) {
        this.giftId = giftId;
    }

    public Long getUserCouponId() {
        return userCouponId;
    }

    public void setUserCouponId(Long userCouponId) {
        this.userCouponId = userCouponId;
    }

    public Integer getIsUsePoints() {
        return isUsePoints;
    }

    public void setIsUsePoints(Integer isUsePoints) {
        this.isUsePoints = isUsePoints;
    }

    public List<Long> getCartIds() {
        return cartIds;
    }

    public void setCartIds(List<Long> cartIds) {
        this.cartIds = cartIds;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getGoodsUnitId() {
        return goodsUnitId;
    }

    public void setGoodsUnitId(Long goodsUnitId) {
        this.goodsUnitId = goodsUnitId;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPanicPrice() {
        return panicPrice;
    }

    public void setPanicPrice(String panicPrice) {
        this.panicPrice = panicPrice;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public OdOrder getOrder() {
        return order;
    }

    public void setOrder(OdOrder order) {
        this.order = order;
    }
}
